JBoss Community Archive (Read Only)

WildFly Camel

Building from Source

The WildFly Camel project has its source code hosted at github and is built using Maven 3. This page describes the building process for the umbrella project, the project that pulls all the subcomponents together, builds and tests the WildFly Camel integration.

Clone from GitHub

The following command clones the umbrella project into your workspace:

    git clone git://github.com/tdiesler/wildfly-camel.git

Configuring Maven to use the JBoss Repository

To use dependencies from the jboss.org repository the following snippet should be included in settings.xml

	<settings>
	  <profiles>
	    <profile>
	      <id>jboss-public-repository</id>
	      <repositories>
	        <repository>
	          <id>jboss-public-repository-group</id>
	          <name>JBoss Public Maven Repository Group</name>
	          <url>https://repository.jboss.org/nexus/content/groups/public/</url>
	          <layout>default</layout>
	          <releases>
	            <enabled>true</enabled>
	            <updatePolicy>never</updatePolicy>
	          </releases>
	          <snapshots>
	            <enabled>true</enabled>
	            <updatePolicy>never</updatePolicy>
	          </snapshots>
	        </repository>
	      </repositories>
	    </profile>
	  </profiles>
	  <activeProfiles>
	    <activeProfile>jboss-public-repository</activeProfile>
	  </activeProfiles>
	</settings>

For more details, see Configuring Maven

Build with Maven

When you see a reference to a WildFly snapshot in the main pom you need to build wildly camel branch first.

    git clone -b camel git://github.com/tdiesler/wildfly.git
    mvn clean install

When this is done use the command below to build the project and run the testsuite

	[tdiesler@tdvaio trunk]$ mvn clean install
	...
	[INFO] ------------------------------------------------------------------------
	[INFO] Reactor Summary:
	[INFO] 
	[INFO] Wildfly Camel ..................................... SUCCESS [0.660s]
	[INFO] Wildfly Camel Subsystem ........................... SUCCESS [5.489s]
	[INFO] Wildfly Camel Build ............................... SUCCESS [10.225s]
	[INFO] Wildfly Camel Enricher ............................ SUCCESS [1.803s]
	[INFO] Wildfly Camel Testsuite ........................... SUCCESS [20.401s]
	[INFO] ------------------------------------------------------------------------
	[INFO] BUILD SUCCESS
	[INFO] ------------------------------------------------------------------------
	[INFO] Total time: 39.133s
	[INFO] Finished at: Fri May 24 09:45:09 CEST 2013
	[INFO] Final Memory: 85M/250M
	[INFO] ------------------------------------------------------------------------
JBoss.org Content Archive (Read Only), exported from JBoss Community Documentation Editor at 2020-03-13 13:58:35 UTC, last content change 2013-07-25 10:23:47 UTC.